<div class="container">
    <form action="/add" method="post">
        <div class="form-group">
            <label for="exampleInputPassword1">姓名</label>
            <input type="text" name="name" class="form-control" placeholder="姓名">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">班级</label>
            <input type="text" name="class_name" class="form-control" placeholder="班级">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">爱好</label>
            <input type="text" name="hobby" class="form-control" placeholder="爱好">
        </div>
        {{!-- <div class="form-group">
            <label for="exampleInputPassword1">性别</label>
                <div class="form-check form-check-block ml-4">
                    <input class="form-check-input" type="radio" name="sex" id="inlineRadio1" value="1">
                    <label class="form-check-label" for="inlineRadio1">男</label>
                </div>
                <div class="form-check form-check-inline ml-4">
                    <input class="form-check-input" type="radio" name="sex" id="inlineRadio2" value="2">
                    <label class="form-check-label" for="inlineRadio2">女</label>
                </div>
           
        </div> --}}
        <div class="text-center">
            <button type="submit" class="btn btn-primary">提交</button>
            <button type="reset" class="btn btn-secondary">重置</button>
        </div>
    </form>
</div>